
import request from '../utils/request';

export function fetchSelIndex() {
    return request(`/api/restricted/Index/All`);
}
export function fetchSelIndexType() {
    return request(`/api/restricted/IndexType/All`);
}
export function queryTableData(req) {
    var data = new FormData()
    data.append('query', JSON.stringify(req))
    return request(`/api/restricted/BI/Query`, {
      method: 'POST',
      body: data,
    });
}

export function ReportParamSearch(params){
    var data = new FormData()
    data.append('SearchParams', JSON.stringify(params))
    return request(`/api/restricted/ReportParamSearch`, {
      method: 'POST',
      body: data,
    });
}
